package com.phkj.qdh.repository

import com.phkj.qdh.bean.HomeNoticeBean
import com.phkj.qdh.net.APP_LOGIN
import com.phkj.qdh.net.HOME_NOTIFICATION_LIST
import com.phkj.qdh.net.PageList
import rxhttp3.RxHttp
import rxhttp3.toFlowResponse

object HomeRepository {
    fun getHomeNotificationList(map:HashMap<String,Any?>)=
        RxHttp.get(HOME_NOTIFICATION_LIST).addAll(map).toFlowResponse<PageList<HomeNoticeBean>>()

}